package com.liy.framework.common;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan({"com.liy.framework.common.mybatis.dao"})
@ComponentScan({"com.liy.framework.common.mybatis.config", "com.liy.framework.common.orm", "com.liy.framework.common.mybatis.service", "com.liy.framework.common.mybatis.rest"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
